package com.pand.model.vehicle;

import com.pand.model.BaseObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * 
 * @ClassName: RentVehicle 
 * @Description: 车辆运行数据
 * @author zouyan
 * @date 2016年5月13日 下午2:11:11 
 *
 */
@Entity
@Table(name = "RES_VEHICLE_RENT")
//@SequenceGenerator(name = "SeqVehicleRent", sequenceName = "SEQ_VEHICLE_RENT", allocationSize = 1)
public class RentVehicle extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Long id;
	
	/**
	 * 车辆ID
	 */
	private Long vehicleId;
	
	/**
	 * 车牌号
	 */
    private String license; 
	
	/**
	 * 车架号
	 */
    private String vinCode; 
	
	/**
	 * 组织id
	 */
	private Long organizationId;
	
	/**
	 * 所属网店
	 */
	private Long belongStationId;
	
	/**
	 * 当前网点
	 */
	private Long currentStationId;
	
	/**
	 * 运营状态
	 */
	private Integer operateStatus;
	
	/**
	 * 车辆用途
	 */
	private String vehiclePurpose;
	
	/**
	 * 保险种类
	 */
	private String insureType;
	
	/**
	 * 保险期限
	 */
	private Timestamp insureDeadline;
	
	/**
	 * 出险次数
	 */
	private Long insureCount;
	
	/**
	 * 当前用车人
	 */
	private Long currUser;
	
	/**
	 * 城市id
	 */
	private String cityId;
	
	/**
	 * 是否限速
	 */
	private Long limitspeedSwitch;

	/**
	 * 设备号
	 */
	private String equipmentNumber;
	
	@Id
//	@GeneratedValue(generator="SeqVehicleRent")
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "license")
	public String getLicense() {
		return license;
	}
	public void setLicense(String license) {
		this.license = license;
	}
	@Column(name = "vin_code")
	public String getVinCode() {
		return vinCode;
	}
	public void setVinCode(String vinCode) {
		this.vinCode = vinCode;
	}
	@Column(name="vehicle_id")
	public Long getVehicleId() {
		return vehicleId;
	}
	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}
	@Column(name="organization_Id")
	public Long getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}
	@Column(name="belong_Station_Id")
	public Long getBelongStationId() {
		return belongStationId;
	}
	public void setBelongStationId(Long belongStationId) {
		this.belongStationId = belongStationId;
	}
	@Column(name="current_Station_Id")
	public Long getCurrentStationId() {
		return currentStationId;
	}
	public void setCurrentStationId(Long currentStationId) {
		this.currentStationId = currentStationId;
	}
	@Column(name="operate_Status")
	public Integer getOperateStatus() {
		return operateStatus;
	}
	public void setOperateStatus(Integer operateStatus) {
		this.operateStatus = operateStatus;
	}
	@Column(name="vehicle_Purpose")
	public String getVehiclePurpose() {
		return vehiclePurpose;
	}
	public void setVehiclePurpose(String vehiclePurpose) {
		this.vehiclePurpose = vehiclePurpose;
	}
	@Column(name="insure_Type")
	public String getInsureType() {
		return insureType;
	}
	public void setInsureType(String insureType) {
		this.insureType = insureType;
	}
	@Column(name="insure_Deadline")
	public Timestamp getInsureDeadline() {
		return insureDeadline;
	}
	public void setInsureDeadline(Timestamp insureDeadline) {
		this.insureDeadline = insureDeadline;
	}
	@Column(name="insure_Count")
	public Long getInsureCount() {
		return insureCount;
	}
	public void setInsureCount(Long insureCount) {
		this.insureCount = insureCount;
	}
	@Column(name="curr_user")
	public Long getCurrUser() {
		return currUser;
	}
	public void setCurrUser(Long currUser) {
		this.currUser = currUser;
	}
	@Column(name="city_Id")
	public String getCityId() {
		return cityId;
	}
	public void setCityId(String cityId) {
		this.cityId = cityId;
	}
	@Column(name="limitspeed_switch")
	public Long getLimitspeedSwitch() {
		return limitspeedSwitch;
	}
	public void setLimitspeedSwitch(Long limitspeedSwitch) {
		this.limitspeedSwitch = limitspeedSwitch;
	}

	@Column(name="equipment_number")
	public String getEquipmentNumber() {
		return equipmentNumber;
	}

	public void setEquipmentNumber(String equipmentNumber) {
		this.equipmentNumber = equipmentNumber;
	}
}
